package com.yellow.orderservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yellow.orderservice.entity.Order;
import com.yellow.orderservice.entity.Sender;

import java.util.List;

public interface SenderService extends IService<Sender> {
    void insertSender(Sender sender);

    Long findIdByName(String name);

    List<Sender> findSenderByName(String name);

    List<Order> getOrdersBySenderName(String name);

    Long countSenders();
}
